package  
{
	import flash.display.Sprite;
	import flash.text.TextField;

	
	/**
	 * ...
	 * @author Harry
	 */
	public class testInternal extends Sprite 
	{
		private var aField:TextField;
		private var bField:TextField;

		public function testInternal() 
		{
			var a:Testvar = new Testvar();
			aField = new TextField();
			aField.autoSize = "left";
			aField.background = true;
			aField.border = true;
			aField.text = "Test1 is:" + a.myVar;
			addChild(aField);
		}
		
	}

}
import flash.display.Sprite;
class Testvar extends Sprite 
{
	private var test:String;
	public function Testvar():void 
	{
	}
	internal function get myVar():String 
	{
	   test = "I am private but if you see me I am public.";
	   return test;
	}
}
